package cn.Observer3;

/**
 * Created by jt on 2018/3/22.
 */
public class Test {
    public static void main(String[] args) {
        Bell bell = new Bell() ;
        Observer observer1 = new Student("张三",bell) ;
        Observer observer2 = new Student("李四",bell) ;
        Observer observer3 = new Student("王五",bell) ;
        Observer observer4 = new Student("赵六",bell) ;


        bell.classBegin();

        bell.classIsOver();

    }
}
